home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / gpt32src.zip / EG5.PLT < prev    next >
Text File  |  1990-03-26  |  346b  |  16 lines

  1. set terminal latex
  2. set output "eg5.tex"
  3. set format y "$%g$"
  4. set format x "$%4.1f\pi$"
  5. set noclip points
  6. set title "This is $\sin(x)$"
  7. set xlabel "This is the $x$ axis"
  8. set ylabel "$\sin(x)$"
  9. set nokey
  10. set xtics ("$-\pi$" -pi,\
  11.  "$-\frac{\pi}{2}$" -pi/2,\
  12.  "0" 0,\
  13.  "$\frac{\pi}{2}$" pi/2,\
  14.  "$\pi$" pi)
  15. plot [-pi:pi] [-1:1] sin(x)
  16.